import React from 'react';
export default class Slider extends React.Component {
    constructor(props) {
        super(props);
        this.state = {}
    }
    render() {
        const sliders = this.props.store.getState().slider;
        // console.log(sliders[0]);
        return (
            <div className="container">
                <hr/>
                <div className="row">

                    {sliders.map(item => (
                        <div key={item} className="col-xs-6 col-md-3">
                            <a href="#" className="thumbnail">
                                <img src={item} alt={item} />
                            </a>
                        </div>
                    ))}

                </div>
            </div>

        )
    }
} 